I'm trying to get the URLs of a YouTube video by typing the command ytplayer.config.args.url_encoded_fmt_stream_map or ytplayer.config.args.url_encoded_fmt_stream_map.split(",") on the developer tools console but neither of those seem to work. The console just displays the message "undefined" when I enter the first one and when I enter the command with .split(",") at the end, it displays the following error message:
> Uncaught TypeError: Cannot read properties of undefined (reading
> 'split')
> at <anonymous>:1:42